package com.mike.uaa.server.repositories.mybatis;

import com.mike.uaa.server.domain.entity.ExUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Page;

import java.util.List;
@Mapper
public interface ExUserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(ExUser record);

    ExUser selectByPrimaryKey(String userId);
    ExUser selectByUsername(String username);

//    List<ExUser> selectAll();
    Page<ExUser> selectAll();

    int updateByPrimaryKey(ExUser record);
}
